home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / g__~1 / gplibs15.zoo / dldefs.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-04-02  |  613 b   |  25 lines

  1. /*  dldefs.h:          C Version of Init Definitions
  2.  *  Author:           James Kempf
  3.  *  Created On:       Tue Feb  5 11:34:58 1991
  4.  *  Last Modified By: James Kempf
  5.  *  Last Modified On: Tue Aug  6 11:22:36 1991
  6.  *  Update Count:     8
  7.  *  Copyright 1988 Sun Microsystems, Inc.
  8. */
  9.  
  10. #ifndef DLDEFS_H
  11. #define DLDEFS_H
  12.  
  13. /*Typedef needed for calling function*/
  14.  
  15. typedef void (*void_fn)();
  16.  
  17. /*The default name of the initialization function.*/
  18.  
  19. #define INIT_FUN __init                   /*one less _ due to assembler*/
  20. #define FINI_FUN __fini
  21. #define INIT_FUN_NAME "___init"
  22. #define FINI_FUN_NAME "___fini"
  23.  
  24. #endif
  25.